<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>Meeting会议管理系统</title>
    <link rel="stylesheet" href="/styles/common.css"/>
</head>
<body>
<%@ include file="top.jsp" %>
<div class="page-body">
    <%@ include file="leftMenu.jsp" %>
    <div class="page-content">
        <div class="content-nav">
            会议预定 > 修改会议室信息
        </div>
        <form action="/updateroom" method="post">
            <fieldset>
                <legend>会议室信息</legend>
                <table class="formtable">
                    <tr>
                        <td>门牌号:</td>
                        <td>
                            <input name="roomnum" id="roomnumber" type="text" value="" maxlength="10"/>
                        </td>
                    </tr>
                    <tr>
                        <td>会议室名称:</td>
                        <td>
                            <input name="roomname" id="capacity" type="text" value="" maxlength="20"/>
                        </td>
                    </tr>
                    <tr>
                        <td>最多容纳人数：</td>
                        <td>
                            <input name="capacity" id="roomcapacity" type="text" value=""/>
                        </td>
                    </tr>
                    <tr>
                        <td>当前状态：</td>
                        <td>
                            <%--                            <#if mr.status==0>--%>
                            <%--                                <input type="radio" id="status" name="status" checked="checked" value="0"/><label--%>
                            <%--                                    for="status">启用</label>--%>
                            <%--                                <input type="radio" id="status" value="1" name="status"/><label for="status" value="1">已占用</label>--%>
                            <%--                            <#else >--%>
                            <%--                                <input type="radio" id="status" name="status" value="0"/><label--%>
                            <%--                                    for="status">启用</label>--%>
                            <%--                                <input type="radio" id="status" name="status" value="1" checked="checked"/><label for="status"--%>
                            <%--                                                                                                        value="1">已占用</label>--%>
                            <%--                            </#if>--%>
                        </td>
                    </tr>
                    <tr>
                        <td>备注：</td>
                        <td>
                            <textarea name="description" id="description" maxlength="200" rows="5"
                                      cols="60">${mr.description}</textarea>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="command">
                            <input type="hidden" value="${mr.roomid}" name="roomid">
                            <input type="submit" value="确认修改" class="clickbutton"/>
                            <input type="button" class="clickbutton" value="返回" onclick="window.history.back();"/>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </form>
    </div>
</div>
<%@include file="down.jsp"%>
</body>
</html>